package com.paipaideli.common.utils;

import android.util.Log;
import com.paipaideli.BuildConfig;

/*
* log 工具类  正式包不打印log
* */
public class LogUtil {

    public static void d(String msg){
        if(!BuildConfig.DEBUG){
            Log.e("paipaideli", msg);
        }
    }

    public static void d(Throwable throwable){
        if(!BuildConfig.DEBUG) {
            Log.e("paipaideli", "", throwable);
        }
    }

    public static void d(String msg, Throwable throwable){
        if(!BuildConfig.DEBUG) {
            Log.e("paipaideli", msg,throwable);
        }

    }
}
